package net.helix.ui.panels;

import java.awt.Dimension;
import java.awt.Frame;

import javax.swing.JDialog;
import javax.swing.JLabel;

public class PopupLoader extends JDialog {
	private static final long serialVersionUID = 1L;
	private JLabel status;
	public PopupLoader(Frame aFrame){
		super(aFrame, true);
		
		status = new JLabel("Loading");
		
		setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
		
		add(status);
		
		setSize(new Dimension(300,200));
		
	}
	public void updateStatus(String str){
		status.setText(str);
	}
}
